package com.shop.cereshop.agent.dao.product;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.agent.page.product.AgentProductSkuVO;
import com.shop.cereshop.commons.domain.agentProduct.CereAgentProductSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AgentProductSkuDAO extends BaseMapper<CereAgentProductSku> {

  /**
   * 根据商品ID查询商品所有规格列表（包含规格属性）
   * 
   * @param productId 商品ID
   * @return 规格列表
   */
  List<AgentProductSkuVO> getProductSkuList(@Param("productId") Long productId);
}